package com.artpri.dao;

import com.artpri.model.UserInfo;

/**
 * 
 * @author ZhangSi
 *
 */
public interface UserDao extends HibernateDao<UserInfo>{

	UserInfo checkEmailUser(String user, String pass);

	UserInfo checkMobileUser(String user, String pass);

	Integer checkUserNameExists(String name);

	UserInfo getUserByEmail(String email);

	UserInfo getUserByMobile(String mobile);

}
